﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2025-03-01 16:58
    /// 描 述：实体类
    /// </summary>
    [Table("attribute_dependencies")]
    public class AttributeDependenciesEntity : BaseEntity
    {
        /// <summary>
        /// 父属性 属性表（如尺码）id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? parent_attribute_id { get; set; }
        /// <summary>
        /// 子属性 属性表（如季节）id
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? child_attribute_id { get; set; }
    }
}
